package com.atguigu.dao;

import com.atguigu.base.BaseDAO;
import com.atguigu.entity.Community;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @PACKAGE_NAME: com.atguigu.dao
 * @CLASSNAME: CommunityDAO
 * @AUTHOR: zhangsan
 * @DATE: 2024/4/21 11:54
 * @SINCE 17.0.7
 * @DESCRIPTION: CommunityDAO
 */
public interface CommunityDAO extends BaseDAO<Community> {
    /**
     * 查询所有小区
     * @return
     */
    List<Community> findAll();

    Community getDictNameById(@Param("communityId") Long communityId);
}
